package demo.service;

import java.util.List;

import demo.entity.Mission;

public interface MissionService {
	public boolean addMission(Mission mission);
	
	public boolean updateMission(Mission mission);
	
	public boolean deleteMission(Integer id);
	
	public Mission getById(Integer id);
	
	public List<Mission> getMyMissionBySuperiorid(Mission mission,Integer pageNo,Integer pageSize);
	
	public List<Mission> getManagerMissionBySuperiorid(Mission mission,Integer pageNo,Integer pageSize);
	
	public boolean updateState(Integer id,Integer state);
}
